package com.tedu.weibo2.mapper;

import com.tedu.weibo2.pojo.entity.Weibo;
import com.tedu.weibo2.pojo.vo.WeiboDetailVO;
import com.tedu.weibo2.pojo.vo.WeiboVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IWeiboMapper {
    public int insert(Weibo weibo);

    public List<WeiboVO> selectAll();

    public WeiboDetailVO selectById(Integer id);
}
